package top.lfyao.designpattern.details.factory.abstraction;


import top.lfyao.designpattern.details.factory.simple.Operation;

public class Client {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        Operation operation = OperationFactory.createOperation("/");

        operation.numberA = 7;
        operation.numberB = 8;

        System.out.println(operation.result());
    }
}
